package com.zzc.emotisenseclassroom.domain.user.service.impl;

import com.zzc.emotisenseclassroom.dbservice.user.SchoolDbService;
import com.zzc.emotisenseclassroom.domain.user.service.SchoolInfoService;
import com.zzc.emotisenseclassroom.dto.user.SchoolDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Copyright Zzc
 * FileName: SchoolInfoServiceImpl
 * Author:   Zzc
 * Date:     2024/4/2421:00
 * Description:学校信息业务层实现类
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
@Service
public class SchoolInfoServiceImpl  implements SchoolInfoService {
    @Autowired
    SchoolDbService schoolDbService;

    @Override
    public List<SchoolDTO> getSchoolList(String schoolName) {
        return schoolDbService.getSchoolInfoList(schoolName);
    }
}
